package com.xie.dao;

import com.xie.pojo.Dog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DogMapper {
    //添加宠物领养
    int addDog(Dog dog);

    //删除宠物
    int deleteDog(@Param("did") int did);

    //修改宠物信息

    //查询某个宠物
    Dog queryDogByText(@Param("dtext") String dtext);

    //查询所有宠物
    List<Dog> allDog();



}
